|
Book details / order |
C++ CONCURRENCY IN ACTION |
Without assuming you have a background in the subject, c++ concurrency in action gradually enables you to write robust and elegant multithreaded applications in c++11. you'll explore the threading memory model, the new multithreading support library, and basic thread launching and synchronization facilities. along the way, you'll learn how to navigate the trickier bits of programming for concurrency.
written for c++ programmers who are new to concurrency and others who may have written multithreaded code using other languages, apis, or platforms.
table of contents -
hello, world of concurrency in c++!
? what is concurrency?
? why use concurrency?
? concurrency and multithreading in c++
? getting started
managing threads
? basic thread management
? passing arguments to a thread function
? transferring ownership of a thread
? choosing the number of threads at runtime
? identifying threads
sharing data between threads
? problems with sharing data between threads
? protecting shared data with mutexes
? alternative facilities for protecting shared data
synchronizing concurrent operations
? waiting for an event or other condition
? waiting for one-off events with futures
? waiting with a time limit
? using synchronization of operations to simplify code
the c++ memory model and operations on atomic types
? memory model basics
? atomic operations and types in c++
? synchronizing operations and enforcing ordering
designing lock-based concurrent data structures
? what does it mean to design for concurrency?
? c++ concurrency in action
? lock-based concurrent data structures
? designing more complex lock-based data structures
designing lock-free concurrent data structures
? definitions and consequences
? examples of lock-free data structures
? guidelines for writing lock-free data structures
? chapter 8 designing concurrent code
? techniques for dividing work between threads
? factors affecting the performance of concurrent code
? designing data structures for multithreaded performance
? additional considerations when designing for concurrency
? designing concurrent code in practice
designing concurrent code
? techniques for dividing work between threads
? factors affecting the performance of concurrent code
? designing data structures for multithreaded performance
? additional considerations when designing for concurrency
? designing concurrent code in practice
advanced thread management
? thread pools
? interrupting threads
testing and debugging multithreaded applications
? types of concurrency-related bugs
? techniques for locating concurrency-related bugs
? appendix a brief reference for some c++11 language features
? appendix b brief comparison of concurrency libraries
? appendix c a message-passing framework and complete atm example
? appendix d c++ thread library reference.
author -
anthony williams is a uk-based developer and consultant with many years? experience in c++. he has been an active member of the bsi c++ standards panel since 2001, and is author or coauthor of many of the c++ standards committee papers that led up to the inclusion of the thread library in the new c++ standard, known as c++11 or c++0x. he has been the maintainer of the boost thread library since 2006, and is the developer of the just::thread implementation of the c++11 thread library from just software solutions ltd. anthony lives in the far west of cornwall, england.
Author : Anthony williams
Publication : Dreamtech press
Isbn : 9789350043233
Store book number : 105
NRS 880.00
|
|
|
|
|
|
|
|
|
|